<?php
defined('_JEXEC')or die();
class JTablePhongban extends JTable
{
   var $pb_id                  = null;
   var $pb_iddonviquanly                  = null;
   var $pb_ten               = null;
   var $pb_diachi               = null;
   var $pb_dienthoai            = null;
   var $pb_email                = null;
   var $pb_mieuta                  = null;
   var $pb_website                  = null;
   var $pb_hinhanh                  = null;
   var $idupdate                  = null;
   var $timeupdate                  = null;
    function __construct(&$db) {
        parent::__construct('qlcb_phongban', 'pb_id', $db);
        $this->timeupdate=JFactory::getDate()->toMysql();
        $this->idupdate=JFactory::getUser()->get('id');
        $this->pb_iddonviquanly=JRequest::getInt('pb_iddonviquanly');
    }
}
?>